package 练习程序;

public class test02 {
    public static void main(String[] args) {
        char[] s;
        java.util.Scanner s1 = new java.util.Scanner(System.in);
        s = ((s1.nextLine()).toLowerCase()).replaceAll("[^a-z^A-Z]", "").toCharArray();
        char[] t = "abcdefghijklmnopqrstuvwxyz".toCharArray();
        int count1 = 0;
        for (int i = 0; i < t.length; i++) {
            count1 = 0;
            for (int j = 0; j < s.length; j++) {
                if (s[j] == t[i]) {
                    count1++;
                }
            }
            if (count1 != 0) {
                System.out.print(t[i] + "=" + count1 + "  ");
            }
        }
    }
}